﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CVM.Core.Entities;

namespace CVM.View
{
    public partial class CandidatesPage : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public List<Candidate> ListDeleted
        {
            get
            {
                if (ViewState["ListModified"] == null)
                    ViewState["ListModified"] = new List<Candidate>();

                return (List<Core.Entities.Candidate>)ViewState["ListModified"];
            }
            set { ViewState["ListModified"] = value; }

        }

        public List<Candidate> ListAdded
        {
            get
            {
                if (ViewState["ListModified"] == null)
                    ViewState["ListModified"] = new List<Candidate>();

                return (List<Core.Entities.Candidate>)ViewState["ListModified"];
            }
            set { ViewState["ListModified"] = value; }

        }
    }
}